﻿@using PersonalWebSite.Common

@{
    ViewBag.Title = "Hintea Dan Alexandru - Credits for stuff used on this website";
    Layout = "~/Views/Shared/_Layout.cshtml";
    
    var previousNavigationItem = Html.NavigationManager().FetchPreviousHistoryItem() ?? ViewContext.RouteData;
}

<div id="UniverseHolderWrapper">
    <div class="hdunv-fixture"> 
        <div data-hdunv_type="Universe" data-hdunv_x="0" data-hdunv_y="0" data-hdunv_w="1000" data-hdunv_h="100" data-hdunv_name="hD Universe" data-starfield_enabled="false" data-shootingstar_enabled="false">
            <div class="hdunv-content"></div>

            <div data-hdunv_type="Galaxy" data-hdunv_depth="0" data-hdunv_x="0" data-hdunv_y="0" data-hdunv_w="1000" data-hdunv_h="120" data-hdunv_name="Header">
                <div data-hdunv_type="SolarSystem" data-hdunv_speed="0" data-hdunv_direction="cw" data-hdunv_x="0" data-hdunv_y="0" data-hdunv_w="0" data-hdunv_h="0" data-hdunv_name="MainSection Top">
                    <div class="hdunv-content">
                        <div class="MetroTile"><div class="Content">
                            <h1>Credits</h1>
                            <h2>Various stuff used on and for this website</h2>
                        </div></div>
                    </div>
                </div>
            </div>

            <div data-hdunv_type="Galaxy" data-hdunv_depth="0" data-hdunv_x="0" data-hdunv_y="0" data-hdunv_w="1000" data-hdunv_h="50" data-hdunv_name="Header">
                <div data-hdunv_type="SolarSystem" data-hdunv_speed="0" data-hdunv_direction="cw" data-hdunv_x="0" data-hdunv_y="0" data-hdunv_w="0" data-hdunv_h="0" data-hdunv_name="MainSection Top">
                    <div class="hdunv-content">
                        @{Html.RenderAction("Button", "Tiles", new { IconName = "Back", Tip = "Go Back", NavigateUrl = Url.Action((string)previousNavigationItem.Values["action"], (string)previousNavigationItem.Values["controller"], new { id = previousNavigationItem.Values["id"] }) });}
                    </div>
                </div>
                <div data-hdunv_type="SolarSystem" data-hdunv_speed="0" data-hdunv_direction="cw" data-hdunv_x="0" data-hdunv_y="0" data-hdunv_w="0" data-hdunv_h="0" data-hdunv_name="MainSection Top">
                    <div class="hdunv-content">
                        @{Html.RenderAction("Button", "Tiles", new { IconName = "Home", Tip = "Go Home", NavigateUrl = Url.Action("Index", "Home") });}
                    </div>
                </div>
            </div>

            <div data-hdunv_type="Galaxy" data-hdunv_depth="0" data-hdunv_x="0" data-hdunv_y="0" data-hdunv_w="1000" data-hdunv_h="400" data-hdunv_name="Galaxy 1">
                <div data-hdunv_type="SolarSystem" data-hdunv_speed="0" data-hdunv_direction="cw" data-hdunv_x="0" data-hdunv_y="0" data-hdunv_w="0" data-hdunv_h="0" data-hdunv_name="MainSection Top">
                    <div class="hdunv-content">
                        <div class="MetroTile"><div class="Content"><div class="InlineContent">
                            <p>
                                I got the "metro style" design concept idea from Microsoft's upcoming Windows 8 and Windows Phone 7 Smartphones so I don't take any credit for it, I simply liked its simplicity and aspect and took a shot in implementing it in a personal way.
                            </p>
                            <p>
                                A pretty important part of the metro concept, and of any other design concept if I think about it, are the icons used throughout the screens. I found the following two sources which provide a rich set of metro icons and the best part is that they are community supported so constantly updated:
                            </p>
                            <ul>
                                <li>
                                    <a href="http://icons8.com/download-huge-windows8-set/" target="_blank">icons 8</a>
                                </li>
                                <li>
                                    <a href="http://www.iconsforwindows8.com/free-windows-metro-icons/" target="_blank">Free Icons for Windows 8</a>
                                </li>
                            </ul>
                            <p>
                                The  development technology is a fine combination between the following:
                            </p>
                            <ul>
                                <li>
                                    <a href="http://www.asp.net/mvc" target="_blank">Microsoft ASP.NET MVC</a>, which, in the last two years since I began using it, I find it to be a very flexible, mature and productive framework.
                                </li>
                                <li>
                                    <a href="http://jquery.com/" target="_blank">jQuery</a>... is there any developer who hasn't, at least, heard of it?
                                </li>
                                <li>
                                    <a href="http://knockoutjs.com/" target="_blank">Knockout JS</a>, an extremly useful MVVM framework for JavaScript, for which a big thanks goes to <a href="https://plus.google.com/101125875699890932931" target="_blank">Julian</a> for telling me about it.
                                </li>
                            </ul>
                            <p>
                                I improved the performance of this website using <a href="http://developer.yahoo.com/yui/compressor/" target="_blank">Yahoo! YUI compressor</a>.
                            </p>
                            <p>
                                Hosting is ensured by the great services at affordable prices from <a href="http://www.mxhost.ro/" target="_blank">MX Host</a>.
                            </p>
                        </div></div></div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>

<script type="text/javascript">

    $(window).resize(function () {
        $("#UniverseHolderWrapper").css("height", $(window).outerHeight());
    });
    $("#UniverseHolderWrapper").css("height", $(window).outerHeight());

    var universe = new hDUnivSim("#UniverseHolderWrapper", new MetroStyleDrawer(false, 10), InPageHtmlFixture);
    universe.AlignHorizontal = Align.Horizontal.Center;
    universe.AlignVertical = Align.Vertical.Top;
    universe.InitHtml();
</script>
